package com.abloz.auth.controller;

import com.abloz.auth.service.feign.AuthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @Autowired
    private AuthService authService;

    @GetMapping("/hello/{name}")
    public String hello(@PathVariable String name) {

        return authService.hello(name);
    }
}
